[INFO] cloning repository https://github.com/rukletsov/rcr
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rukletsov/rcr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frukletsov%2Frcr", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frukletsov%2Frcr'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d274cec3a6e1a1efe26f8b4ea54cca3d7313c4cd
[INFO] checking rukletsov/rcr against try#72f88fc4e9458f89516a0b8b0868f3718aec5b47 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frukletsov%2Frcr" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/rukletsov/rcr on toolchain 72f88fc4e9458f89516a0b8b0868f3718aec5b47
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/rukletsov/rcr
[INFO] finished tweaking git repo https://github.com/rukletsov/rcr
[INFO] tweaked toml for git repo https://github.com/rukletsov/rcr written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/rukletsov/rcr already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently
[INFO] [stderr] disables Cargo from automatically inferring other binary targets.
[INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following
[INFO] [stderr] files will be included as a binary target:
[INFO] [stderr] 
[INFO] [stderr] * /workspace/builds/worker-1/source/src/main.rs
[INFO] [stderr] 
[INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be
[INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself
[INFO] [stderr] and disable this warning by adding `autobins = false` to your [package]
[INFO] [stderr] section. You may also move the files to a location where Cargo would not
[INFO] [stderr] automatically infer them to be a target, such as in subfolders.
[INFO] [stderr] 
[INFO] [stderr] For more information on this warning you can consult
[INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tokio-core v0.1.13
[INFO] [stderr]   Downloaded tokio v0.1.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2def108449268dfc4df9784cc31b722ca4032de2b651b3112495700324403ff7
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "2def108449268dfc4df9784cc31b722ca4032de2b651b3112495700324403ff7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2def108449268dfc4df9784cc31b722ca4032de2b651b3112495700324403ff7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2def108449268dfc4df9784cc31b722ca4032de2b651b3112495700324403ff7", kill_on_drop: false }`
[INFO] [stdout] 2def108449268dfc4df9784cc31b722ca4032de2b651b3112495700324403ff7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f6e10d8adbc7d74cf4486c1f6d69532ebc4ff900038470bff636d988b86f3367
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "f6e10d8adbc7d74cf4486c1f6d69532ebc4ff900038470bff636d988b86f3367", kill_on_drop: false }`
[INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently
[INFO] [stderr] disables Cargo from automatically inferring other binary targets.
[INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following
[INFO] [stderr] files will be included as a binary target:
[INFO] [stderr] 
[INFO] [stderr] * /opt/rustwide/workdir/src/main.rs
[INFO] [stderr] 
[INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be
[INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself
[INFO] [stderr] and disable this warning by adding `autobins = false` to your [package]
[INFO] [stderr] section. You may also move the files to a location where Cargo would not
[INFO] [stderr] automatically infer them to be a target, such as in subfolders.
[INFO] [stderr] 
[INFO] [stderr] For more information on this warning you can consult
[INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Checking cfg-if v0.1.2
[INFO] [stderr]     Checking futures v0.1.18
[INFO] [stderr]     Checking nodrop v0.1.12
[INFO] [stderr]     Checking byteorder v1.2.1
[INFO] [stderr]     Checking scoped-tls v0.1.1
[INFO] [stderr]     Checking iovec v0.1.2
[INFO] [stderr]     Checking rand v0.4.2
[INFO] [stderr]     Checking num_cpus v1.8.0
[INFO] [stderr]     Checking mime v0.3.5
[INFO] [stderr]     Checking log v0.4.1
[INFO] [stderr]     Checking crossbeam-utils v0.2.2
[INFO] [stderr]     Checking net2 v0.2.32
[INFO] [stderr]     Checking arrayvec v0.4.7
[INFO] [stderr]     Checking bytes v0.4.6
[INFO] [stderr]     Checking base64 v0.9.0
[INFO] [stderr]     Checking mio v0.6.14
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]     Checking crossbeam-epoch v0.4.0
[INFO] [stderr]     Checking rand v0.3.22
[INFO] [stderr]     Checking crossbeam-deque v0.3.0
[INFO] [stderr]     Checking tokio-executor v0.1.0
[INFO] [stderr]     Checking tokio-io v0.1.6
[INFO] [stderr]     Checking tokio-service v0.1.0
[INFO] [stderr]     Checking relay v0.1.1
[INFO] [stderr]     Checking futures-cpupool v0.1.8
[INFO] [stderr]     Checking tokio-threadpool v0.1.0
[INFO] [stderr]     Checking tokio-reactor v0.1.0
[INFO] [stderr]     Checking tokio v0.1.2
[INFO] [stderr]     Checking tokio-core v0.1.13
[INFO] [stderr]     Checking tokio-proto v0.1.1
[INFO] [stderr]     Checking hyper v0.11.22
[INFO] [stderr]     Checking rcr v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/daemon/main.rs:19:23
[INFO] [stdout]    |
[INFO] [stdout] 19 |     type Future = Box<Future<Item=Self::Response, Error=Self::Error>>;
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item=Self::Response, Error=Self::Error>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/daemon/main.rs:19:23
[INFO] [stdout]    |
[INFO] [stdout] 19 |     type Future = Box<Future<Item=Self::Response, Error=Self::Error>>;
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item=Self::Response, Error=Self::Error>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `(): futures::Future` is not satisfied
[INFO] [stdout]   --> src/daemon/main.rs:37:20
[INFO] [stdout]    |
[INFO] [stdout] 37 |                 }).and_then(move |content|{
[INFO] [stdout]    |                    ^^^^^^^^ the trait `futures::Future` is not implemented for `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: required because of the requirements on the impl of `futures::IntoFuture` for `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `(): futures::Future` is not satisfied
[INFO] [stdout]   --> src/daemon/main.rs:37:20
[INFO] [stdout]    |
[INFO] [stdout] 37 |                 }).and_then(move |content|{
[INFO] [stdout]    |                    ^^^^^^^^ the trait `futures::Future` is not implemented for `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: required because of the requirements on the impl of `futures::IntoFuture` for `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `match` arms have incompatible types
[INFO] [stdout]   --> src/daemon/main.rs:44:17
[INFO] [stdout]    |
[INFO] [stdout] 24 |             let future = match (req.method(), req.path()) {
[INFO] [stdout]    |    ______________________-
[INFO] [stdout] 25 |   |             (&Method::Get, "/") => {
[INFO] [stdout] 26 |   |                 response.set_body("Help:");
[INFO] [stdout] 27 |   |                 futures::future::ok(response)
[INFO] [stdout]    |   |                 ----------------------------- this is found to be of type `Finished<Response<_>, _>`
[INFO] [stdout] ...    |
[INFO] [stdout] 31 |   |                 futures::future::ok(response)
[INFO] [stdout]    |   |                 ----------------------------- this is found to be of type `Finished<Response<_>, _>`
[INFO] [stdout] ...    |
[INFO] [stdout] 34 |   |                 let f = req.body().concat2().map(|chunk| {
[INFO] [stdout]    |   |__________________________________________________-
[INFO] [stdout] 35 |  ||                     let content = String::from_utf8(chunk.to_vec());
[INFO] [stdout] 36 |  ||                     content.unwrap_or("".to_string())
[INFO] [stdout] 37 |  ||                 }).and_then(move |content|{
[INFO] [stdout]    |  ||_________________-___________-
[INFO] [stdout]    | |||_________________|
[INFO] [stdout]    | | |                 one of the found closures
[INFO] [stdout] 38 | | |                     use std::thread;
[INFO] [stdout] 39 | | |                     use std::time::Duration;
[INFO] [stdout] 40 | | |                     thread::sleep(Duration::from_secs(30));
[INFO] [stdout] 41 | | |                     response.set_body(format!("Stop response: {}", content))
[INFO] [stdout] 42 | | |                 });
[INFO] [stdout]    | |_|_________________- one of the found closures
[INFO] [stdout] 43 |   |
[INFO] [stdout] 44 |   |                 f
[INFO] [stdout]    |   |                 ^ expected struct `Finished`, found struct `futures::AndThen`
[INFO] [stdout] ...    |
[INFO] [stdout] 49 |   |             }
[INFO] [stdout] 50 |   |         };
[INFO] [stdout]    |   |_________- `match` arms have incompatible types
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Finished<Response<_>, _>`
[INFO] [stdout]               found struct `futures::AndThen<futures::Map<Concat2<Body>, [closure@src/daemon/main.rs:34:50: 37:18]>, (), [closure@src/daemon/main.rs:37:29: 42:18 response:_]>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `match` arms have incompatible types
[INFO] [stdout]   --> src/daemon/main.rs:44:17
[INFO] [stdout]    |
[INFO] [stdout] 24 |             let future = match (req.method(), req.path()) {
[INFO] [stdout]    |    ______________________-
[INFO] [stdout] 25 |   |             (&Method::Get, "/") => {
[INFO] [stdout] 26 |   |                 response.set_body("Help:");
[INFO] [stdout] 27 |   |                 futures::future::ok(response)
[INFO] [stdout]    |   |                 ----------------------------- this is found to be of type `Finished<Response<_>, _>`
[INFO] [stdout] ...    |
[INFO] [stdout] 31 |   |                 futures::future::ok(response)
[INFO] [stdout]    |   |                 ----------------------------- this is found to be of type `Finished<Response<_>, _>`
[INFO] [stdout] ...    |
[INFO] [stdout] 34 |   |                 let f = req.body().concat2().map(|chunk| {
[INFO] [stdout]    |   |__________________________________________________-
[INFO] [stdout] 35 |  ||                     let content = String::from_utf8(chunk.to_vec());
[INFO] [stdout] 36 |  ||                     content.unwrap_or("".to_string())
[INFO] [stdout] 37 |  ||                 }).and_then(move |content|{
[INFO] [stdout]    |  ||_________________-___________-
[INFO] [stdout]    | |||_________________|
[INFO] [stdout]    | | |                 one of the found closures
[INFO] [stdout] 38 | | |                     use std::thread;
[INFO] [stdout] 39 | | |                     use std::time::Duration;
[INFO] [stdout] 40 | | |                     thread::sleep(Duration::from_secs(30));
[INFO] [stdout] 41 | | |                     response.set_body(format!("Stop response: {}", content))
[INFO] [stdout] 42 | | |                 });
[INFO] [stdout]    | |_|_________________- one of the found closures
[INFO] [stdout] 43 |   |
[INFO] [stdout] 44 |   |                 f
[INFO] [stdout]    |   |                 ^ expected struct `Finished`, found struct `futures::AndThen`
[INFO] [stdout] ...    |
[INFO] [stdout] 49 |   |             }
[INFO] [stdout] 50 |   |         };
[INFO] [stdout]    |   |_________- `match` arms have incompatible types
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Finished<Response<_>, _>`
[INFO] [stdout]               found struct `futures::AndThen<futures::Map<Concat2<Body>, [closure@src/daemon/main.rs:34:50: 37:18]>, (), [closure@src/daemon/main.rs:37:29: 42:18 response:_]>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rcr`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "f6e10d8adbc7d74cf4486c1f6d69532ebc4ff900038470bff636d988b86f3367", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f6e10d8adbc7d74cf4486c1f6d69532ebc4ff900038470bff636d988b86f3367", kill_on_drop: false }`
[INFO] [stdout] f6e10d8adbc7d74cf4486c1f6d69532ebc4ff900038470bff636d988b86f3367
